package model.network.api

import model.dto.UserDto
import model.vo.LoginVO
import model.vo.R
import model.vo.UserVo
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * suspend 关键字用于定义挂起函数
 */
interface UserService {
    @POST("/auth/user/login")
    suspend fun login(@Body userDto:UserDto): R<LoginVO>
}